const remote = require('electron').remote;
let btndata2 = document.querySelector("#btndata2");

btndata2.onclick = ()=>{
          const data = remote.getGlobal('shareObject').name;
          console.log(`this is btndata2 获取到的数据是:`,data);
}
